package mylab.usm.api.service;

import mylab.usm.api.model.account.App;

import java.util.List;
import java.util.Map;

public interface AppService {

    List<App> getAll();

    App getByClientId(String clientId);

    App add(App app);

    App update(App app);

    boolean deleteById(String clientId);

    boolean removeById(String id);

    boolean deleteByClientId(String clientId);

    App convert(Map<String, Object> appInfo);

}
